package com.sihan.idc.manager.service.impl;

import com.sihan.idc.manager.entity.BaseIotDataEntity;
import com.sihan.idc.manager.entity.DeviceBaseEntity;
import com.sihan.idc.manager.entity.DeviceIotDataEntity;
import com.sihan.idc.manager.mapper.DeviceBaseMapper;
import com.sihan.idc.manager.service.DeviceBaseService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author 蜗牛数字化
 * @since 2024-08-24
 */
@Service
public class DeviceBaseServiceImpl extends ServiceImpl<DeviceBaseMapper, DeviceBaseEntity> implements DeviceBaseService {
    @Autowired
    private DeviceBaseMapper deviceBaseMapper;
    @Override
    public List<BaseIotDataEntity> queryAll() {
        return deviceBaseMapper.findAll();
    }
}
